enum RegionType {
    // Display near button
    buttonNearby = 0,
    // Display as dialog
    dialog,
    // Display fullscreen
    fullScreen
}

enum ExpandType {
    // Default value, no button extension, adds an entry to sidebar
    default=0,
    pen,
    eraser,
    layer,
    template,
    thumbnail,



}

enum EntranceType {
    sideBar,
    editBar,

}


class Entrance {
    name: string;
    icon: string;
    action: number;
    regionType = RegionType.buttonNearby;
    regionWidth: number;
    regionHeight: number;

}

class SidebarEntrance extends Entrance {
    expandButton = ExpandType.default;
}

class EditBarEntrance extends Entrance {
    isHideToolbar = false;
    editDataTypes=[];
}

export { SidebarEntrance, EditBarEntrance, RegionType, ExpandType, EntranceType };